package com.example.mapper;

import com.example.pojo.entitly.DrugAdmin;
import com.example.pojo.dto.DrugAdminRegDTO;
import com.example.pojo.vo.DrugAdminVO;

/**
* @author tan
* @description 针对表【drug_admin】的数据库操作Mapper
* @createDate 2022-10-19 22:49:59
* @Entity com.example.pojo.entitly.DrugAdmin
*/
public interface DrugAdminMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DrugAdmin record);

    int insertSelective(DrugAdmin record);

    DrugAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DrugAdmin record);

    int updateByPrimaryKey(DrugAdmin record);


    DrugAdminVO selectByUsername(String username);

    void insertDrugAdmin(DrugAdminRegDTO drugAdmin);
}
